
/* 
 *  Copyright (c) 2011—2013 Panguso.com. All rights reserved. 
 *  File Name:  TagRule.java                                      
 *  File Contents Outline :  字段信息               
 *  File  Create Date:   2012年7月30日
 *  File Version#: Revision#: #1                  
 *  File  Latest Modify Date : 2013年1月16日
 *  File Author :  bachuan@panguso.com
 */
package cn.edu.thu.log.preprocessrule;

import java.util.ArrayList;

/**
 * 每个字段的规则，是字段与其上规则的对应关系。
 * 一个字段上可能有多个规则，每个规则中又可能包含一个列表 
 * @author wan
 *
 */
public class TagRule {
	private String teamname=null;
	private String tagname=null;
	private String rulename=null;
	private ArrayList<String> oneTagRuleList;
	
	public TagRule(String teamname,String tagname,String rulename,ArrayList<String> oneTagRuleList){
		this.teamname=teamname;
		this.tagname=tagname;
		this.rulename=rulename;
		this.oneTagRuleList=oneTagRuleList;
	}

	public String getTeamname() {
		return teamname;
	}

	public void setTeamname(String teamname) {
		this.teamname = teamname;
	}

	public String getTagname() {
		return tagname;
	}

	public void setTagname(String tagname) {
		this.tagname = tagname;
	}

	public String getRulename() {
		return rulename;
	}

	public void setRulename(String rulename) {
		this.rulename = rulename;
	}

	public ArrayList<String> getOneTagRuleList() {
		return oneTagRuleList;
	}

	public void setOneTagRuleList(ArrayList<String> oneTagRuleList) {
		this.oneTagRuleList = oneTagRuleList;
	}
	
}
